﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucContactUS.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.ContactUS.ContactUS" %>

<div>
    <div>
        <b>ONLINE CONTACT FORM</b>
        <table width="100%">
            <tr>
                <td align="left" width="150px">
                    Full Name:
                </td>
                <td>
                    <asp:DropDownList ID="ddlLastName" runat="server">
                        <asp:ListItem>Mr.</asp:ListItem>
                        <asp:ListItem>Prof.</asp:ListItem>
                        <asp:ListItem>Dr.</asp:ListItem>
                        <asp:ListItem>Miss.</asp:ListItem>
                        <asp:ListItem>Ms.</asp:ListItem>
                        <asp:ListItem>Mrs.</asp:ListItem>
                    </asp:DropDownList>
                    <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                        ControlToValidate="txtFullName" ErrorMessage="FullName must not empty"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Address:
                </td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                        ControlToValidate="txtAddress" ErrorMessage="Address must not empty"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Phone:
                </td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                        ControlToValidate="txtPhone" ErrorMessage="Phone must not empty"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Email:
                </td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                        ControlToValidate="txtEmail" ErrorMessage="Email must not empty"></asp:RequiredFieldValidator>
                    <br />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="txtEmail" ErrorMessage="Emai not valid" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Subject:
                </td>
                <td>
                    <asp:TextBox ID="txtSubject" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                        ControlToValidate="txtSubject" ErrorMessage="Subject must not empty"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Content
                </td>
                <td>
                    <asp:TextBox ID="txtContent" runat="server" Height="107px" TextMode="MultiLine" ViewStateMode="Enabled"
                        Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" 
                        ControlToValidate="txtContent" ErrorMessage="Contentmust not empty"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="left">
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Send" />
                    &nbsp;
                    <input id="Reset1" type="reset" value="Reset" />
                </td>
            </tr>
        </table>
    </div>
</div>
